home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Prog
/
M
/
MacStarter.cpt
/
inputBoxes.h
< prev
next >
Wrap
Text File
|
1992-10-10
|
801b
|
20 lines
/* This header file defines some functions for using Mac dialog boxes.
See the README file that should be in the same folder with this file.
*/
#include "stdio.h" // for def of type FILE; used in inputBoxes.c anyway
void TellUser(const Str255 message);
short AskUser(const Str255 question, short* answeredYes);
void AskUserWithoutCancel(const Str255 question, short* answeredYes);
short InputString(const Str255 prompt, Str255 str, const short maxLength);
short InputWord(const Str255 prompt, Str255 str, const short maxLength);
short InputLongInt(const Str255 prompt, long* n, const long min, const long max);
short InputDouble(const Str255 prompt, double* x, const double min, const double max);
FILE* OpenOldFile(Str255 fileName);
FILE* OpenNewFile(const Str255 prompt, Str255 fileName);